<!-- 村列表中的区域筛选 -->
<div class="col-md-10">
    <form id="searchForm" action="{$pageSize.url}" class="form" method="post">
        <div class="form-inline">
            &nbsp;&nbsp;&nbsp;
            {notempty name="searchFields"}
                {foreach $searchFields as $search}
                    {notempty name="search.label"}
                        {/*{php}include(APP_PATH . "admin/view/components/" . $search['type'] . ".html");{/php}*/}
                        {switch name="search.type" }
                            {case value="text"}
                                {include file="components:text" /}
                            {/case}
                            {case value="select"}
                                {include file="components:select" /}
                            {/case}
                            {case value="date"}
                                {include file="components:date" /}
                            {/case}
                                {default /}
                                {include file="components:text" /}
                        {/switch}
                        &nbsp;&nbsp;&nbsp;
                    {/notempty}
                {/foreach}
            {/notempty}

            <button id="doSearch" type="button" class="btn btn-success" title="筛选">
                <i class="fa fa-search"></i> 筛选
            </button>
            <!--<a href="{$currentUrl}?reset=1" class="btn btn-danger"><i class="fa fa-trash"></i> 清空</a>-->
            <button type="reset" class="btn btn-danger" title="清空">
                <i class="fa fa-trash"></i> 清空
            </button>
        </div>
    </form>
</div>

<input type="hidden" class="getregion_url" value="{:url('admin/region/getregion')}">
<input type="hidden" class="getvillage_url" value="{:url('admin/region/getvillage')}">